import { Route, Routes } from "react-router-dom";
import IndexHome from "../../indexHome";
import Advice from "../../advice";
import Activity from "../../activity";
import User from "../../user";
import About from "../../about";

const Right = () => {
    return (
        <div>
            <Routes>
                <Route exact path="/" element={<IndexHome />} />
                <Route path="/advice" element={<Advice />} />
                <Route path="/activity" element={<Activity />} />
                <Route path="/user" element={<User />} />
                <Route path="/about" element={<About />} />
            </Routes>
        </div>
    );
};
export default Right;
